package mastermind.game;

import java.util.Date;

public class Score {
	private int score;
	private Date dateCompleted;

	public Score(int value) {
		this(value, new Date());
	}

	public Score(int value, Date dateCompleted) {
		score = value;
		this.dateCompleted = dateCompleted;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public void setCompleted(Date d) {
		dateCompleted = d;
	}

	public Date getDateCompleted() {
		return dateCompleted;
	}
}
